package com.ruoyi.system.entity;

import io.mybatis.provider.Entity.Column;
import io.mybatis.provider.Entity.Table;
import lombok.Data;

/**
 * sys_job - 定时任务调度表
 *
 * @author mkj
 */
@Data
@Table(value = "sys_job", remark = "定时任务调度表", autoResultMap = true)
public class SysJobDO extends BaseDO {
    @Column(value = "job_id", id = true, remark = "任务ID", updatable = false, insertable = false)
    private Long jobId;

    @Column(value = "job_name", id = true, remark = "任务名称", updatable = false, insertable = false)
    private String jobName;

    @Column(value = "job_group", id = true, remark = "任务组名", updatable = false, insertable = false)
    private String jobGroup;

    @Column(value = "invoke_target", remark = "调用目标字符串")
    private String invokeTarget;

    @Column(value = "cron_expression", remark = "cron执行表达式")
    private String cronExpression;

    @Column(value = "misfire_policy", remark = "计划执行错误策略（1立即执行 2执行一次 3放弃执行）")
    private String misfirePolicy;

    @Column(value = "concurrent", remark = "是否并发执行（0允许 1禁止）")
    private String concurrent;

    @Column(value = "status", remark = "状态（0正常 1暂停）")
    private String status;

    @Column(value = "remark", remark = "备注信息")
    private String remark;

}
